package com.xgz.service.impl;

import com.xgz.entity.LayTreeData;
import com.xgz.entity.TMenu;
import com.xgz.service.TMenuService;
import com.xgz.dao.TMenuDao;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (TMenu)表服务实现类
 *
 * @author makejava
 * @since 2022-10-25 14:48:32
 */
@Service
public class TMenuServiceImpl implements TMenuService {
   /**
    * 服务对象
    */
   @Autowired
   private TMenuDao tMenuDao;

   @Override
   public List<TMenu> queryAll() {
      List<TMenu> tMenus = tMenuDao.queryAll();
      return tMenus;
   }

   @Override
   public List<LayTreeData> queryAllTreeData() {
      return tMenuDao.queryAllTreeData();
   }

   @Override
   public List<Integer> getcheckDataList(Integer rid) {
      return tMenuDao.getcheckDataList(rid);
   }
}

